//
//  MTAboutViewController.m
//  ShiShiBang
//
//  Created by 宋宝强 on 16/9/23.
//  Copyright © 2016年 motianjituan. All rights reserved.
//

#import "MTAboutViewController.h"

@interface MTAboutViewController ()

@end

@implementation MTAboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self initNavigation];
    self.view.backgroundColor = UIColorFromRGB(0xf7f7f7);
}

-(void)initNavigation {
    
    self.navigationItem.title = @"关于实事帮";
    
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem itemWithImage:[UIImage imageNamed:@"back"] highImage:[UIImage imageNamed:@"back anxia"] target:self action:@selector(backClick)];
    
    [self.navigationController.navigationBar setBackgroundImage:[UIImage imageWithColor:UIColorFromRGB(0x45c75a)]  forBarMetrics:UIBarMetricsDefault];
    NSMutableDictionary *attr = [NSMutableDictionary dictionary];
    attr[NSFontAttributeName] = [UIFont boldSystemFontOfSize:17];
    attr[NSForegroundColorAttributeName] = [UIColor whiteColor];
    [self.navigationController.navigationBar setTitleTextAttributes:attr];
    
}
-(void)backClick {
    [self.navigationController popViewControllerAnimated:YES];
}
@end
